package com.eight.vote.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 点点星言
 * @since 2022-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class VOptionInfo implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
      @TableId(value = "v_id", type = IdType.AUTO)
    private Long vId;

    /**
     * 用户id
     */
    @TableField("u_id")
    private Long userId;

    /**
     * 选项id
     */
    @TableField("o_id")
    private Long optionId;

    /**
     * 投票时间
     */
    private LocalDateTime date;


}
